﻿using Accessibility;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace iseeqq
{
    class Program
    {

        public static void cc(String winTitle)
        {

            IntPtr hwnd = Win32API.FindWindow(null, winTitle);
            int inputBox = QqWindowHelper.getChatType(hwnd);

            Console.WriteLine(winTitle + "\t" + inputBox);
        }

        static void Main(string[] args)
        {
            //cc("yeah");
            //cc("逻辑思维");
            //cc("哈希N、流浪儿");
            //cc("yeah、哈希N");

            QQProc proc = QQProc.startPro(QQValue.qqInfo.qqProcPath, QQValue.qqInfo.username, QQValue.qqInfo.password);
            proc.listening();

            //Console.WriteLine(proc.qqTray);

            Console.WriteLine("结束");
            Console.ReadLine();

        }

    }
}
